package com.zyplayer.doc.manage.web.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户授权信息
 *
 * @author 暮光：城中城
 * @since 2018-12-15
 */
public class AuthInfoVo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键自增ID
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	
	/**
	 * 是否选中
	 */
	private Integer checked;
	
	/**
	 * 权限名
	 */
	private String authName;
	
	/**
	 * 权限说明
	 */
	private String authDesc;
	
	/**
	 * 是否可编辑 0=否 1=是
	 */
	private Integer canEdit;
	
	/**
	 * 创建人
	 */
	private Long createUid;
	
	/**
	 * 创建时间
	 */
	private Date creationTime;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getAuthName() {
		return authName;
	}
	
	public void setAuthName(String authName) {
		this.authName = authName;
	}
	
	public String getAuthDesc() {
		return authDesc;
	}
	
	public void setAuthDesc(String authDesc) {
		this.authDesc = authDesc;
	}
	
	public Integer getCanEdit() {
		return canEdit;
	}
	
	public void setCanEdit(Integer canEdit) {
		this.canEdit = canEdit;
	}
	
	public Long getCreateUid() {
		return createUid;
	}
	
	public void setCreateUid(Long createUid) {
		this.createUid = createUid;
	}
	
	public Date getCreationTime() {
		return creationTime;
	}
	
	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}
	
	@Override
	public String toString() {
		return "AuthInfo{" +
				"id=" + id +
				", authName=" + authName +
				", authDesc=" + authDesc +
				", canEdit=" + canEdit +
				", createUid=" + createUid +
				", creationTime=" + creationTime +
				"}";
	}
	
	public Integer getChecked() {
		return checked;
	}
	
	public void setChecked(Integer checked) {
		this.checked = checked;
	}
}
